@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,200;6..12,300;6..12,400;6..12,500;6..12,600;6..12,700&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
  font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    width: 100%;
}

/*======= hero-page========*/
.hero-page {
  background: linear-gradient(rgba(58, 55, 55, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/project-main.png');
  min-height: 70vh;
  max-width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  position: relative; /* Add position relative for absolute positioning of children */

}

.hero-page .texts{
  position: absolute;
  top: 55%;
  left: 5%; /* Adjust the left value to position the text accordingly */
  transform: translate(0%, -50%);
  color: white; /* Adjust text color */
  width: 850px;
}

.hero-page .texts h1{
  font-size: 2.5rem;
  line-height: 3.0625rem;
}

.hero-page .texts p{
  margin: 14px 0;
  font-size: 1.1rem;
  line-height: 1.6875rem;
}

.hero-page .hero-page-buttons{
  display: flex;
  justify-content: space-between;
  width: 370px;
  margin-top: 20px;
}
.hero-page .hero-page-buttons a{
  color: #fff;
}

.hero-page .hero-page-buttons .btn{
width: 135px;
height: 35px;
font-size: 14px;
border: none;
border-radius: 7px;
background: #42459C;
color: #fff;
}


/* Media Queries for Responsive Design */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero-page {
      min-height: 90vh;
      width: 100%;
  }

  .hero-page .texts {
      width: 100%;
  }

  .hero-page .texts h1 {
      font-size: 1.9rem; 
      line-height: 2.2rem;
  }

  .hero-page .texts p {
      font-size: 0.9rem; 
      line-height: 1.2rem; 
  }

  .hero-page .hero-page-buttons{
      width: 270px;
  }

  .hero-page .hero-page-buttons .btn {
      width: 100px; 
      font-size: 11px; 
  }
}








  /*======= contact-form========*/
/* .contact-form{
    display: flex;
    margin: 90px;
    max-width: 100%;
    height: 90vh;
    align-items: center;
    justify-content: center;
} */
/* 
.before-form{
 margin-right: 150px;
 max-width: 100%;
}

.before-form h2, p, h3{
    margin-bottom: 40px;
}

.before-form span{
    margin-right: 100px;
    justify-content: space-between;
}

.contact-first-form{
    width: 500px;
    margin-top: 100px;
    height: fit-content;
    border-radius: 7px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);     padding: 30px;
}

.contact-first-form label{
    gap: 20px;
    margin: 0 10px;
}
.contact-first-form .two-row{
    display: flex;
}


.contact-first-form input{
    width: 100%;
    margin-bottom: 30px;
    height: 40px;
    padding: 10px;
}*/

.message-field textarea{
    width: 100%;
    height: 100px;
    resize: none;
    font-size: 1.2rem;
    padding: 14px;
    margin: 10px 0 20px;
}




/* contact-us media queries for mobile and tablet  */




/* very small screen  */
  
@media only screen and (max-width: 599px) {
  .hero-page {
      min-height: 50vh;
      width: 100%;
  }

  .hero-page .texts {
      width: 70%;
  }

  .hero-page .texts h1 {
      font-size: 1.3rem;
      line-height: 1.4rem;
  }

  .hero-page .texts p {
      font-size: 0.6rem;
      line-height: 1rem;
  }

  .hero-page .hero-page-buttons{
      width: 230px;
  }

  .hero-page .hero-page-buttons .btn {
      width: 85px;
      font-size: 8px;
  }
  
  .contact-form {
    max-width: 90%;
    margin: auto;
    margin-top: 10%;
  }

  .before-form h2, #p {
    text-align: center;
  }

  .before-form .h3 {
    margin-top: 5%;
  }

  .before-form a{
    margin-top: 5%;
    text-align: center;
  }

  .contact-first-form {
    width: 80%;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 2%;
    border-radius: 7px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  }

  .contact-first-form label{
    gap: 20px;
    margin: 0 10px;
  }

  
  .contact-first-form input{
    width: 100%;
    margin-bottom: 20px;
    height: 40px;
    padding: 10px;
  }

  .form-submit {
    width: 60%;
    margin: auto;
  }

  .form-submit button{
    width: 100%;
  }
}


/* small screen size */
@media only screen and (min-width: 600px) and (max-width: 767px) {
  .hero-page .texts {
      width: 80%;
  }

  .hero-page .texts h1 {
      font-size: 1.5rem; 
      line-height: 1.9rem; 
  }

  .hero-page .texts p {
      font-size: 0.7rem; 
      line-height: 1rem; 
  }

  .hero-page .hero-page-buttons{
      width: 250px;
  }

  .hero-page .hero-page-buttons .btn {
      width: 90px; 
      font-size: 9px; 
  }

  .contact-form {
    max-width: 90%;
    margin: auto;
    margin-top: 10%;
  }

  .before-form h2, #p {
    text-align: center;
  }

  .before-form .h3 {
    margin-top: 5%;
  }

  .before-form a{
    margin-top: 5%;
    text-align: center;
  }

  .contact-first-form {
    width: 80%;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 2%;
    border-radius: 7px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  }

  .contact-first-form label{
    gap: 20px;
    margin: 0 10px;
  }

  
  .contact-first-form input{
    width: 100%;
    margin-bottom: 20px;
    height: 40px;
    padding: 10px;
  }

  .form-submit {
    width: 27%;
    margin: auto;
  }

  .form-submit button{
    width: 100%;
  }
}



/* next small screen  */
@media only screen and (min-width: 768px) and (max-width: 2024px) {
  .hero-page {
      min-height: 90vh;
      width: 100%;
  }

  .hero-page .texts {
      width: 50%;
  }

  .hero-page .texts h1 {
      font-size: 1.6rem; 
      line-height: 2rem; 
  }

  .hero-page .texts p {
      font-size: 0.9rem; 
      line-height: 1.2rem; 
  }

  
  .hero-page .hero-page-buttons{
    display: flex;
    justify-content: space-between;
    width: 370px;
    margin-top: 20px;
  }

  .hero-page .hero-page-buttons .btn {
      width: 135px;
      height: 35px; 
      font-size: 80%; 
  }

  .contact-form {
    display: flex;
    width: 90%;
    margin: auto;
  }

  .before-form {
    height: 70%;
    margin: auto;
  }

  .before-form h2, .p-tag {
    text-align: center;
    width: 70%;
  }

  .before-form .h3 {
    margin-top: 10%;
  }

  .contact-first-form {
    width: 70%;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 2%;
    border-radius: 7px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  }

  
  .contact-first-form label{
    gap: 20px;
    margin: 0 10px;
  }

   
  .contact-first-form input{
    width: 100%;
    margin-bottom: 20px;
    height: 40px;
    padding: 10px;
  }

  .form-submit {
    width: 24%;
    margin: auto;
  }

  .form-submit button{
    width: 100%;
  }

  
}

.email-form {
  display: flex;
}

@media only screen and (max-width: 599px) {
  .email-form {
    flex-direction: column;
  }
}


.email-form input[type="email"] {
    flex: 1;
    margin-right: 10px; /* Adjust as needed */
}


